{% extends '../common/main.html' %}
{% load static %}
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>详细页</title>
</head>
<body>
    {% block body %}
    <div id="background_1">
        <br><br>
        <div class="container" style="position: -webkit-sticky;position: sticky;top:10%;background: white;max-width: 85%;padding: 3%;border:2px solid black;border-radius: 15px;opacity: 0.9;">
                <div class="input-group mb-3" >
                    <div class="input-group-prepend">
                        <span class="input-group-text" >投诉主题</span>
                    </div>
                    <input type="text" class="form-control" name="title" readonly="readonly" value={{ complain.title }}>
                </div>

                <div class="input-group" style="height: 400px">
                  <div class="input-group-prepend">
                    <span class="input-group-text">投诉内容</span>
                  </div>
                  <textarea class="form-control" readonly="readonly" name="content">{{ complain.content }}</textarea>
                </div>
{#        </div>#}

          <br>
{#        <div class="container" style="background: white;max-width: 85%;padding: 3%;border:2px solid black;border-radius: 15px;opacity: 0.9;">#}
            <form class="form-login" action="/staff/showdetail" method="post">
                <div class="input-group mb-3" style="height:200px">
                    <div class="input-group-prepend">
                        <span class="input-group-text" >投诉处理<br>结果</span>
                    </div>
                    <textarea class="form-control" name="result">{{ result }}</textarea>
                </div>
                <div class="mb-3">
                    <input type="hidden" name="title" value={{ complain.title }}>
                </div>
                <div>
                    <button type="submit" class="btn btn-primary float-right">提交</button>
                </div>
            </form>
{#        </div>#}
        </div>
    </div>
    {% endblock %}
</body>
</html>